<!DOCTYPE html>
<!-- 

	https://blog.csdn.net/qq_40575302/article/details/119296671


	display:inline，display:inline-block,display:block是什么？行内元素和块级元素的具体区别是什么？
	https://blog.csdn.net/qq_51066068/article/details/123782668
 -->
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<script>
		// 'use strict';
		var arr = [43, 13, 45, 6, 8, 7]
		console.log(arr.indexOf(13))
		arr.forEach(function(value){
			console.log(value)
		})
		
		var person = {
			name:"test",
			age: 18,
			email:"test@test.com",
			score:99
		}
		
		// 是否有某个属性
		const b = person.hasOwnProperty("age")
		console.log(b)
		
		var map = new Map([['name','test'],['2',22],['3','eee']])
		var name = map.get("name")
		console.log("map里查询到的name："+name)
		map.set("admin","超级管理员")
		var admin = map.get("admin")
		console.log("map里查询到的admin："+admin)
		map.delete("3")
		for(const k of map.keys()){
			console.log(k + ":" + map.get(k))
		}
		
		var set  = new Set([[1, 34, 5, "344", 'eeee', 1]])
		set.add(444) 
		set.delete(1)
		set.has(5) // 是否有5
		for(let x of set){
			console.log("set集合里的元素："+x)
		}
		
	</script>
	<body>
	</body>
</html>